Model Explainer

Feature Importances

Model performance metrics

metric Score
accuracy 0.792
precision 0.6
recall 0.656
f1 0.627
roc_auc_score 0.842
pr_auc_score 0.646
log_loss 0.433

Confusion Matrix

How many false positives and false negatives?

Precision Plot

Does fraction positive increase with predicted probability?

Classification Plot

Distribution of labels above and below cutoff

ROC AUC Plot

Trade-off between False positives and false negatives

PR AUC Plot

Trade-off between Precision and Recall

Lift Curve

Performance how much better than random?

Cumulative Precision

Expected distribution for highest scores

Individual Predictions

Select Random Index

Selected index: 1456

Prediction

label probability
0 12.3 %
1* 87.7 %

Contributions Plot

How has each feature contributed to the prediction?

Partial Dependence Plot

Contributions Table

How has each feature contributed to the prediction?
Reason Effect
Average of population 35.98%
Standard__tenure = -1.2802480369298874 +15.33%
Standard__TotalCharges = -0.9651639525205972 +8.8%
Onehot__Contract_Month-to-month = 1.0 +8.06%
Standard__MonthlyCharges = 1.025527238472713 +4.75%
Onehot__OnlineSecurity_No = 1.0 +3.84%
Onehot__InternetService_Fiber optic = 1.0 +3.78%
Onehot__Contract_Two year = 0.0 +2.66%
Onehot__TechSupport_No = 1.0 +2.51%
Onehot__PaperlessBilling_No = 1.0 -2.18%
Onehot__PaperlessBilling_Yes = 0.0 -1.59%
Onehot__MultipleLines_No = 0.0 +1.52%
Onehot__PaymentMethod_Electronic check = 0.0 -1.42%
Onehot__OnlineBackup_No = 1.0 +1.35%
Onehot__PaymentMethod_Mailed check = 1.0 -0.98%
Onehot__StreamingMovies_Yes = 1.0 +0.95%
Onehot__StreamingTV_Yes = 1.0 +0.94%
Ordinal__SeniorCitizen = 0.0 -0.76%
Onehot__OnlineSecurity_Yes = 0.0 +0.74%
Ordinal__Dependents = 0.0 +0.7%
Onehot__StreamingTV_No = 0.0 +0.62%
Onehot__MultipleLines_Yes = 1.0 +0.45%
Onehot__InternetService_DSL = 0.0 +0.39%
Onehot__OnlineBackup_Yes = 0.0 +0.31%
Onehot__TechSupport_Yes = 0.0 +0.3%
Onehot__Contract_One year = 0.0 +0.28%
Ordinal__Partner = 0.0 +0.25%
Onehot__MultipleLines_No phone service = 0.0 -0.19%
Onehot__PaymentMethod_Bank transfer (automatic) = 0.0 +0.17%
Onehot__PhoneService_No = 0.0 -0.17%
Onehot__DeviceProtection_Yes = 0.0 -0.16%
Onehot__InternetService_No = 0.0 +0.16%
Onehot__StreamingMovies_No = 0.0 +0.15%
Ordinal__gender = 0.0 +0.11%
Onehot__PhoneService_Yes = 1.0 -0.09%
Onehot__PaymentMethod_Credit card (automatic) = 0.0 +0.06%
Onehot__DeviceProtection_No = 1.0 +0.05%
Other features combined +0.0%
Final prediction 87.67%

What if...

Select Random Index

Selected index: None

Prediction

input data incorrect

Feature Input

Adjust the feature values to change the prediction
Selected: None

Contributions Plot

How has each feature contributed to the prediction?
input data incorrect

Partial Dependence Plot

input data incorrect

Contributions Table

How has each feature contributed to the prediction?
input data incorrect

Feature Dependence

Shap Summary

Ordering features by shap value

Shap Dependence

Relationship between feature value and SHAP value

Decision Trees

Select Random Index

Selected index: 85

Decision Trees

Displaying individual decision trees inside xgboost model

Decision path table

Decision path through decision tree
node split_condition
0 Onehot__Contract_Month-to-month = 1.0 >= 1.0
2 Onehot__InternetService_Fiber optic = 1.0 >= 1.0
6 Standard__tenure = -1.1987601143772668 < -0.383880883
11 Standard__tenure = -1.1987601143772668 < -0.995040298
19 prediction (margin) = 0.0978179723